package day0811;

import java.util.Scanner;

/**
 * @Author:galaxy_yan
 * @Date: 2022/8/13
 * @Time: 11:11
 * @Version 1.0
 */
public class text3 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int n=sc.nextInt();
                ;

        for (int i = 1; i <= n ; i++) {
            for (int j = 1; j <= n ; j++) {
                if(j<=i){
                    System.out.printf("%d*%d=%2d    ",j,i,i*j);
                }
            }
            System.out.println(" ");
        }
    }
}
